package com.yusi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yusi.entity.FlightInfo;
import com.yusi.entity.dto.FilghtInfos;
import com.yusi.service.IFlightInfoService;
import com.yusi.mapper.FlightInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yusi
 * @since 2022-01-11
 */
@Service
public class FlightInfoServiceImpl extends ServiceImpl<FlightInfoMapper, FlightInfo> implements IFlightInfoService {
    @Autowired
    private FlightInfoMapper flightInfoMapper;

    @Override
    public List<FilghtInfos> getFilghtInfos() {
        return flightInfoMapper.getFilghtInfos();
    }
}
